package com.huike.business.service;

import com.huike.business.domain.TbBusinessTrackRecord;
import com.huike.business.domain.vo.BusinessTrackVo;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * 商机跟进记录Service接口
 * @date 2021-04-28
 */
public interface ITbBusinessTrackRecordService {


    /**
     * 根据商机id查询商机跟进记录
     * @return
     */
    List<TbBusinessTrackRecord> list(Long id);

    /**
     * 新增商机跟进记录
     * @param businessTrackVo
     * @return
     */
    int add(BusinessTrackVo businessTrackVo);

    /**
     * 退回公海
     * @return
     */
    int back(Long id, String reason);
}
